package com.xsd.facade;

/**
 * @Description: 爆米花机
 * @Author: zhoufuzong
 * @Created: 2021-02-28 12:39:19
 * @Version: 1.1.0
 */

public class Popcorn {
    private static Popcorn instance = new Popcorn();

    public static Popcorn getInstance() {
        return instance;
    }

    public void on() {
        System.out.println(" popcorn on ");
    }

    public void off() {
        System.out.println(" popcorn ff ");
    }

    public void pop() {
        System.out.println(" popcorn is poping  ");
    }
}
